package com.esteel.settlement.pa.packet;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 *请求包：柜台、网银－> 监管系统
 *监管账户信息查询
 * zhouwentong
 */
@XmlRootElement(name="Result") 
@XmlAccessorType(XmlAccessType.FIELD)
public class RegulatoryAccountInformationQueryPB1021 extends PaPacket{

	private static final long serialVersionUID = -8383755663451494026L;
	//资金汇总账号
	 @XmlElement(name="AcctId")
	 @Length(max=32)
	 @NotEmpty
    private String acctId; 
	 //交易网代码
	 @XmlElement(name="TranWebCode")
	 @Length(max=4)
	 @NotEmpty
	 private String tranWebCode;
	 
	public String getAcctId() {
		return acctId;
	}
	public void setAcctId(String acctId) {
		this.acctId = acctId;
	}
	public String getTranWebCode() {
		return tranWebCode;
	}
	public void setTranWebCode(String tranWebCode) {
		this.tranWebCode = tranWebCode;
	}
	@Override
	protected String tranFunc(){
		return "1021";
	}
	@Override
	protected String[] order() {
		 String[] objs = {"acctId","tranWebCode","reserve"};
	     return objs;
	} 
}
